package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 积分规则表
 * @TableName points_rule
 */
@TableName(value ="points_rule")
@Data
public class PointsRule implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 规则类型(加分/减分)
     */
    private String ruleType;
    @TableField(exist = false)
    private RewardType rewardType;

    @TableField(exist = false)
    private PunishType punishType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
